package net.pimpas.operation.operation;

import java.util.concurrent.Callable;

import net.pimpas.operation.exception.OperationException;

public interface Operation<T> extends Callable<T> {
	
	public void init( Object... parameters) throws OperationException;
	public void start( ) throws OperationException;
	public void rollBack( ) throws OperationException;
	public void commit( ) throws OperationException;
	public void end( ) throws OperationException;

}